<html>
    <head>
        <meta charset="utf-8">
        <meta name="author" content="范珍">
        <title>异步、同步</title>
        
    </head>
    <body>
        <script>
            console.log('11111');
            console.log('22222');
        </script>
        <script>
            //同步：代码按照书写顺序执行；
            //异步：代码不按照书写顺序执行，
            //常见的异步操作：setTimeOut\setInterval\网络请求
            setTimeout(function(){
                console.log('55555');
            },0);
            console.log('3333');
            console.log('4444');
        </script>
    </body>
</html>

